<div id="content-container" class="container">
    <div class="user-section login-section clearfix">
        <div class="logon-tab" style="text-align:center;color:#999"> <span class="active" style="font-size: 20px;color: #18b4ed;font-weight: bold;padding-top:20px;" href="javascript:;">找回密码</span></div>
        <div class="login-main">
            <form name="form1" id="register-form" class="form-vertical" method="POST" action="">
                {:token()}

                <div class="form-group">
                    <div class="controls input-group input-group-lg">
						<span class="input-group-addon"><span class="glyphicon glyphicon-phone"></span></span>
                        <input type="text" id="mobile" name="mobile" data-rule="required;mobile" class="form-control input-lg" placeholder="{:__('请输入手机号')}">
                        <p class="help-block"></p>
                    </div>
                </div>
				<div class="form-group">
                    <div class="controls input-group input-group-lg">
                        <div class="input-group">
						<span class="input-group-addon" style="padding: 10px 16px;font-size: 15px;"><span class="glyphicon glyphicon-pencil"></span></span>
                            <input type="text" name="captcha" class="form-control input-lg" data-rule="required;length(4);integer[+];remote({:url('api/validate/check_sms_correct')}, event='findpassword', mobile:#mobile)" />
							<span class="input-group-btn" style="padding:0;border:none;">
								<a href="javascript:;" class="btn btn-success btn-captcha btn-lg" data-url="{:url('api/sms/send')}" data-type="mobile" data-event="findpassword">发送验证码</a>
							</span>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="controls input-group input-group-lg">
						<span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>
                        <input type="password" id="password" name="password" data-rule="required;password" class="form-control input-lg" placeholder="{:__('请输入新密码')}">
                        <p class="help-block"></p>
                    </div>
                </div>
				<div class="form-group">
                    <div class="controls input-group input-group-lg">
						<span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>
                        <input type="password" id="repassword" name="repassword" data-rule="required;repassword" class="form-control input-lg" placeholder="{:__('请再次输入新密码')}">
                        <p class="help-block"></p>
                    </div>
                </div>
                <div >
                    <div class="controls">
                        <div class="inline">
                            
                                <a href="{:url('user/login/')}" class="btn-forgot">登录</a>
                            
                        </div>
                        <div class="pull-right"><a href="{:url('user/register/')}" class="btn-forgot">注册</a></div>
                    </div>
                </div>
                {if $captchaType}
                <div class="form-group">
                    <label class="control-label"><!-- {:__('验证码')} --></label>
                    <div class="controls">
                        <div class="input-group">
                            {include file="index@common/captcha" event="register" type="$captchaType" /}
                        </div>
                        <p class="help-block"></p>
                    </div>
                </div>
                {/if}
                <div class="form-group">
                    <button type="submit" class="btn btn-success btn-lg btn-block">修改</button>
					<!-- <p class="text-center"><a href="https://vip.niukewang.com/user/register/">新用户注册</a></p> -->
                </div>
            </form>
        </div>
    </div>
</div>


